package com.dy.lock.screen.dao;

import java.util.List;
import java.util.Map;

import com.dy.lock.screen.pojo.AdvertInfo;

public interface AdvertDao extends BaseDao<AdvertInfo, String> {

	/**
	 * 通过广告id查询结果集合
	 * 
	 * @param adIds
	 * @return
	 */
	public List<AdvertInfo> queryByAdIds(Map<String, Object> map);

	/**
	 * 查询要删除的广告id列表
	 * 
	 * @param map
	 * @return
	 */
	public List<String> queryWillDeleteId(Map<String, Object> map);

	/**
	 * 查询所有
	 * 
	 * @return
	 */
	public List<AdvertInfo> queryAll(Map<String, Object> map);
}
